package com.fz.service;

import com.fz.entity.RoleRes;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 存储角色与权限对应关系 服务类
 * </p>
 *
 * @author hyr
 * @since 2025-06-18
 */
public interface RoleResService extends IService<RoleRes> {
    boolean save(Long roleId, Long[] menuIds, Long[] btnIds);

    List<RoleRes> getByRoleId(Long roleId);
}
